package com.hmall.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hmall.order.pojo.OrderLogistics;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderLogisticsMapper extends BaseMapper<OrderLogistics> {


    /**
     * 新增收货表数据
     * @param orderLogistics
     */
    @Insert("insert into tb_order_logistics values(#{orderId},null,null ," +
            "#{contact},#{phone},#{province},#{city},#{town},#{street},#{createTime},#{updateTime});")
    void insertOrderLog(OrderLogistics orderLogistics);
}
